import 'package:fish_redux/fish_redux.dart';
import '../OrderView/model/order_view_model.dart';
import '../../app_files.dart';

class PatrolOrderViewState implements Cloneable<PatrolOrderViewState> {
  List<OrderConfigModel> items;
  PatrolOrderItemModel pointInfo;

  @override
  PatrolOrderViewState clone() {
    return PatrolOrderViewState()
      ..items = items
      ..pointInfo = pointInfo;
  }
}

PatrolOrderViewState initState(Map<String, dynamic> args) {
  return PatrolOrderViewState()..pointInfo = args['info'];
}
